package org.jeecg.modules.demo.mes.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 副产品表
 * @Author: jeecg-boot
 * @Date:   2022-12-01
 * @Version: V1.0
 */
@Data
@TableName("camellia_mes_byproduct")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="camellia_mes_byproduct对象", description="副产品表")
public class CamelliaMesByproduct implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**副产品名称*/
	@Excel(name = "副产品名称", width = 15)
    @ApiModelProperty(value = "副产品名称")
    private String productName;
	/**库存*/
	@Excel(name = "库存", width = 15)
    @ApiModelProperty(value = "库存")
    private Double productStock;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String stockUnit;
	/**所需物料*/
	@Excel(name = "所属产品", width = 15, dictTable = "camellia_mes_product", dicText = "name", dicCode = "id")
	@Dict(dictTable = "camellia_mes_product", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所属产品")
    private String requiredMaterial;
	/**蛋白质*/
	@Excel(name = "蛋白质", width = 15)
    @ApiModelProperty(value = "蛋白质")
    private String protein;
	/**水分*/
	@Excel(name = "水分", width = 15)
    @ApiModelProperty(value = "水分")
    private String moisture;
	/**氨基酸*/
	@Excel(name = "氨基酸", width = 15)
    @ApiModelProperty(value = "氨基酸")
    private String aminoAcid;
	/**糖分*/
	@Excel(name = "糖分", width = 15)
    @ApiModelProperty(value = "糖分")
    private String sugar;
}
